package com.yonyou.pmclouds.team.entity;

import com.yonyou.pmclouds.basecom.entity.SuperVO;
import com.yonyou.pmclouds.basecom.util.CommonFieldConst;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

@Data
public class TeamMemberViewVO extends SuperVO {

    private String pkTeamMember;
    /**
     * 团队成员
     */
    private String pkUser;
    /**
     * 项目
     */
    private String pkProject;
    private String pkTenant;
    /**
     * 用户所属企业re
     */
    private String pkEnterprise;

    private String enterpriseName;

    private Byte userRole;
    /**
     * 项目状态，这个是冗余数据
     */
    private byte projectState;
    private String creator;
    private Date creationtime;
    private String modifier;
    private Date modifytime;


    private String phoneNo;

    private String email;

    private String userName;

    public static String[] transFields = new String[]{
           TeamMemberVO.PK_TEAM_MEMBER,TeamMemberVO.PK_USER, CommonFieldConst.PK_TENANT,TeamMemberVO.PK_PROJECT,TeamMemberVO.PK_ENTERPRISE,TeamMemberVO.USER_ROLE,CommonFieldConst.CHANGE_FLAG
    } ;

}
